package com.jcfk.eam;

import com.jcfk.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync
@EnableCustomSwagger2
@EnableScheduling
@EnableFeignClients({"com.jcfk.system.api.**","com.jcfk.eam.api.**"})
@MapperScan({"com.jcfk.eam.dao"})
@SpringBootApplication(scanBasePackages = {"com.jcfk.common.**","com.jcfk.system.api.**", "com.jcfk.eam.**"})
public class EamApplication {
    public static void main(String[] args) {
        SpringApplication.run(EamApplication.class, args);
    }
}
